package com.zh.freechat.domain.notice;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import static com.zh.freechat.domain.notice.SSEEventType.APPLY_FRIEND;

/**
 * @author ZH
 * @date 16:16 2022/2/22
 */
@ToString
@Getter
@Setter
public class ApplyFriendMessage extends NoticeMessage{
    /**
     * ID
     */
    protected String userId;
    /**
     * 账号
     */
    private String username;
    /**
     * 头像
     */
    private String avatarUrl;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 性别
     */
    private Integer gender;

    protected ApplyFriendMessage(String receiver){
        super(APPLY_FRIEND,receiver);
    }

}
